const { defineConfig } = require('@vue/cli-service');
const path = require("path");
module.exports = defineConfig({
  transpileDependencies: false,
  devServer:{
    // 配置代理
    proxy:{
      "lqb":{
        target:"https://m.lanqb.com",
        changeOrigin:true,
        pathRewrite:{
          "^/lqb":"",
        },
      },
    },
  },
  // 配置路径别名
configureWebpack:{
  resolve:{
    alias:{
      "@/assets": path.resolve(__dirname,"src/assets"),
      "@/utils": path.resolve(__dirname,"src/assets"),
    },
  },
},
});
